package com.my.vote.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sskj.core.entity.BaseEntity;

/***
 * 投票问题选项
 * 
 * @author chenliang
 *
 */
@Entity
@Table(name = "vote_option")
public class VoteOption extends BaseEntity {

	private static final long serialVersionUID = 3693120066942030659L;

	/** 主题ID */
	@Column(length = 36)
	private String subjectId;

	/** 问题ID */
	@Column(length = 36)
	private String questionId;

	/** 选项描述 */
	@Column(length = 500)
	private String optionDesc;

	/** 删除标记 */
	@Column
	private boolean delFlag;

	/** 序号 */
	@Column
	private int orderNum;

	public String getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}

	public boolean isDelFlag() {
		return delFlag;
	}

	public void setDelFlag(boolean delFlag) {
		this.delFlag = delFlag;
	}

	public String getQuestionId() {
		return questionId;
	}

	public void setQuestionId(String questionId) {
		this.questionId = questionId;
	}

	public String getOptionDesc() {
		return optionDesc;
	}

	public void setOptionDesc(String optionDesc) {
		this.optionDesc = optionDesc;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

}
